﻿/// 系统引用
global using System;
global using System.Collections;
global using System.Collections.Generic;
global using System.IO;
global using System.Linq;
global using System.Text;
global using System.Reflection;
global using System.Text.RegularExpressions;
global using System.ComponentModel;
global using System.Runtime.InteropServices;
global using System.Diagnostics;
global using System.Xml;
global using System.Threading;
global using System.Data.OleDb;// 数据库
global using System.Runtime.Serialization.Formatters.Binary;
global using System.Xml.Serialization;
global using System.Xml.Linq;

global using Exception = System.Exception;

global using Newtonsoft.Json;
global using Formatting = Newtonsoft.Json.Formatting;
global using Registry = Microsoft.Win32.Registry;
global using Microsoft.Win32;
global using Microsoft.CSharp;// 动态编译

// WPF
global using GalaSoft.MvvmLight;
global using System.Collections.ObjectModel;

#if CAD
/// autocad 引用
global using static Autodesk.AutoCAD.Windows.SaveFileDialog;
global using static Autodesk.AutoCAD.Windows.OpenFileDialog;

global using Autodesk.AutoCAD.ApplicationServices;
global using Autodesk.AutoCAD.EditorInput;
global using Autodesk.AutoCAD.Colors;
global using Autodesk.AutoCAD.DatabaseServices;
global using Autodesk.AutoCAD.Geometry;
global using Autodesk.AutoCAD.Runtime;
global using Autodesk.AutoCAD.DatabaseServices.Filters;
global using Autodesk.AutoCAD.Customization; // 需要引用 AcCui.dll
global using Autodesk.AutoCAD;

global using Autodesk.AutoCAD.Interop;// com接口
global using Autodesk.AutoCAD.Interop.Common;// com接口
global using ToolbarDockStatus = Autodesk.AutoCAD.Interop.Common.AcToolbarDockStatus;

global using Autodesk.AutoCAD.GraphicsInterface; // jig的,引发其他重意义
global using Viewport = Autodesk.AutoCAD.DatabaseServices.Viewport;
global using Polyline = Autodesk.AutoCAD.DatabaseServices.Polyline;
global using Group = Autodesk.AutoCAD.DatabaseServices.Group;

// cui
global using Autodesk.AutoCAD.Windows;
// global using MenuItem = Autodesk.AutoCAD.Windows.MenuItem;
global using Tolerance = Autodesk.AutoCAD.Geometry.Tolerance;

// 打印机
global using Autodesk.AutoCAD.PlottingServices;
global using PlotType = Autodesk.AutoCAD.DatabaseServices.PlotType;

global using Acap = Autodesk.AutoCAD.ApplicationServices.Application;
global using Autodesk.AutoCAD.LayerManager;
global using LayerFilter = Autodesk.AutoCAD.LayerManager.LayerFilter;
global using AttributeCollection = Autodesk.AutoCAD.DatabaseServices.AttributeCollection;

#if !NET35
global using Autodesk.AutoCAD.BoundaryRepresentation;
global using BR_Face = Autodesk.AutoCAD.BoundaryRepresentation.Face;
global using BR_Edge = Autodesk.AutoCAD.BoundaryRepresentation.Edge;
#endif
global using DS_DwgFiler = Autodesk.AutoCAD.DatabaseServices.DwgFiler;

global using Acad_ErrorStatus = Autodesk.AutoCAD.Runtime.ErrorStatus;
global using ErrorStatus = Autodesk.AutoCAD.Runtime.ErrorStatus;

global using Vertex = Autodesk.AutoCAD.DatabaseServices.Vertex;

// jig命名空间会引起Viewport/Polyline等等重义,最好逐个引入 using Autodesk.AutoCAD.GraphicsInterface
global using WorldDraw = Autodesk.AutoCAD.GraphicsInterface.WorldDraw;
global using Manager = Autodesk.AutoCAD.GraphicsSystem.Manager;
#endif
// global using PeFunction = System.Collections.Generic.List<JoinBox.PeFunction>;

global using System.Net.Sockets;
global using System.Net;

global using SystemVariableChangedEventArgs = Autodesk.AutoCAD.ApplicationServices.SystemVariableChangedEventArgs;
global using SystemVariableChangingEventArgs = Autodesk.AutoCAD.ApplicationServices.SystemVariableChangingEventArgs;
global using System.Management;  // 在项目-》添加引用....里面引用System.Management

// jig
global using CursorType = Autodesk.AutoCAD.EditorInput.CursorType;

global using System.Windows.Interop;
global using System.Windows;
global using System.Windows.Controls;
global using System.Windows.Input;
global using System.Collections.Specialized;
global using RegistryKey = Microsoft.Win32.RegistryKey;
global using System.Windows.Forms;

global using Point = System.Drawing.Point;

// ifox
global using IFoxCAD.Cad;
global using IFoxCAD.Basal;
global using IFoxCAD.LoadEx;

// 惊惊盒子
global using JoinBox.Basal;
global using JoinBox.Forms;
global using JoinBox.WPF;
global using JoinBox.WPF.LabelBarStandard.ViewModel;
global using ViewModelBase = JoinBox.WPF.ViewModelBase;
global using static JoinBox.Basal.WindowsAPI;

global using LabelBarStandard;

global using JoinBox.WPF.LabelBarStandard.View;

global using JoinBox.CAD;